package com.fyt.reachgo.service;

import com.fyt.reachgo.domain.Result;
import com.fyt.reachgo.domain.TravelComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fyt.reachgo.domain.dto.CommentDTO;

import java.util.List;

/**
* @author 27675
* @description 针对表【travel_comment(旅行路书评论表)】的数据库操作Service
* @createDate 2025-04-07 10:52:01
*/
public interface TravelCommentService extends IService<TravelComment> {

    List<TravelComment> getCommentsByGuideId(Integer guideId, Integer page, Integer size);
    Long addComment(CommentDTO commentDTO);
    Result likeComment(Long commentId);
    Result unlikeComment(Long commentId);
//    void deleteComment(Long commentId);
}
